<?php
    include 'functions.php';
    include 'dbconf.php';
    include 'dbopen.php';
?>

<html>
    <head></head>
<form action="PHP/expression_vs_expression_pvalues.php" method="post">
<table>
    <h1>Expression vs. Expression</h1>
    <tr>
        <td>
            Input first set of gene symbols: <br><textarea cols="10" rows="10" name="input_gene_sym1"></textarea>
        </td>

        <td>
            Input second set of gene symbols: <br><textarea cols="10" rows="10" name="input_gene_sym2"></textarea>
        </td>

        <td valign="top">
            Select tissue:<br><select name="bike_tissue">
                <?php
                    $options = mysql_query(getTissueTypeOptions())
                        or die ("Could not execute query: " . mysql_error());
                    while ($row = mysql_fetch_array($options)) {
                        echo "<option value=\"".$row['name']."\">".$row['name']."</option>";
                    }
                ?>
            </select>
        </td>

        <td valign="bottom">
            <!-- Search SNP: <input type="text" name="snp" style='width: 120px;'/> -->
            <input type="submit" value="Submit"/>
        </td>
    </tr>
</table>
</form>
</html>
<?php
    include 'dbclose.php';
?>